fixed error, but still not working