fixes for record