Thank you again Chris. Sorry you replied to me twice. I have since added return null and I'm no longer stuck in safe mode.