handle front end for None from Python