fixes that god damn bug