updating license to apache 2.0
fixed typo