At the last possible moment; at the last minute.
Unsuitable for some particular purpose.
Happening/occurring at an inconvenient or inappropriate time.