solve alarm problem and rebuild code.