change data type of recordId to Integer