Fixes an issue with .length