Second-placed Aberdeen hit back to beat Kilmarnock 2-1 at Rugby Park in the Ladbrokes Premiership on Sunday afternoon.
Rory McKenzie fired Killie ahead just before the break but Jayden Stockley equalised with seven minutes left and fellow sub Peter Pawlett grabbed the winner two minutes later.
In the day's later game, Dundee defeated Rangers 2-1 at Dens Park to move into the top half and leave the Ibrox side six points behind Aberdeen.
First-half goals from Mark O'Hara and Kevin Holt had Paul Hartley's men in command and they held on despite Joe Garner pulling one back.