syntax fixes
getIds fixed
dirty method doesnot throws exception if no repo now
has method fixed