changed undefined method url