don't compile func at app start causes restarts