fixed application version comparison