Fixed str not callable bug