fix resource duplication warnings
add checks for start/stop max arg lengths
add validation for id_type