mortgage applications near flat in latest week