fix 'unicode' object is not callable exception