corrected testing error for first empty()