Fixed load state, now it checks instance status.