change style&error handle