figured it out, the problem was in the first macro with /set focus... it needed to be simply /focus

sorry for the trouble