fix methods returning html