added porogram; fix bug for register form on firefox