fixed AFTERIEN bug x 2