add scalac options for a safer code