Just as it looked like time was running out Emmanuel Fernandez thrashed home a fine strike to reduce Livingston's lead.