Fixing formurl problems