added error for on end
Merge pull request #34 from yonderHub/loop-inteface

added error for on end