separating debug and release display
small bugfix