Revert "fix appl.c"

This reverts commit 3fd55e1f362279ba153203450cb3471a0336f9b5.