bugfix, turns out I should not have that line there else it will crash