fixed empty error