Fixes and use box to compile the application