fix the damn bug