chage application file, fixed bugs