really fixed things to work with python