can you fix to `if ( ! empty`