bugfix for contentmode