null check in case inlet doesn't exist