fixed basic java error wehn compiling