fixed application
Some util functions