Fix for f_endOnCas..

Fix for f_endOnCas..