removed corner case that caused exception