Fix incorrect url, caused redirect and bug in FF