modify build mode