small fixes
put some error checking around numbers within url dict