fixed java style differences