fixes for compilers

hey there are some bad interactions with other classes, these little fixes help clear it up!