removed empty if