bugfix with active