fix of bugs for showing records for a plane