fix function printing indentation