made a fix so mikkel does not have to change hes code