fixed bug : restoring bounds