bugfix, added a reinterpreter cast