fix warnings in for tutorial view controller