just some fixes to meet the jslint validator