Add base to parseInt + correct spelling mistake