removed unnecessary base_url and some blank lines