get rid of type warning and remove extra hash