made sure ID is always casted to a string