cleanup shitty code ;)