Fixed R cannot be resolved