fix for damn FF and IE, prepare for phalanx