Remove all warnings: unused libraries and variables
fix date bugs and UI load bug