Fix for the read shape