remove some warnings and create 1.7 bytecode