fixed AFTERIEN bug x 3