remove Undefined var InfoMessage