some minor fixes involving longs'
adding missing file