migration of frontend to python 2.7