fixed fragment error