fixed AFTERIEN check