fixed empty()