fixes a bug when used without arguments (need better testing next time :3)