small dict fixes