bugfixies in createView