fix step bug in GUI controller