fixed record issue