fix record creation error
get transition to route working properly