fixed bug that broke everything ;)