Resolved all warnings

still not working