fixed some little subtle things