fixing intendations