startup problem with application behavirou callback