fixed bug in application aware trait