fixed select row statement