fix all aplication bug