fixed my own errors