minor bugfix causing major issues