Generating static_path instead of static_url