hack to fix bug, need to implement better
fixes the hack lol