incorrect gate placement