- fixed compilation warnings
- functions.sql files path fixed
- some resources fixes