fixing a weird timing issue