handle hash parts