Fixed small issues

Just found this small issues while using your library :-)