fixing 3rd layer