changes made to bug controller