regid not returning