Added missing return statement that caused an exception