Fixed small bugs
bug fixes
small bug log