Fixed wrong type of default value passed to parseInt