bugfix with scheduler