Remove unecessary if case at parse method