Adding error handling on show origin