Fixed erros because Eclipse is a stupid IDE