fix infinite loooooop :O