fix whitespaces
fix url location
use err instead of e
wip