Check for empty Text Layer and fix indentation of few lines