Fixes minor mistakes