Fixed time bug and image bug