fixed url parameter bug where it parses string instead of number