bugfix (damn i need a debugger)