fixed a bug allowing to submit a response even if the time window was closed