fix autocommand