fix calling of static html elements