use scala option types to handle fail on show action