solved problem with regexp & HM