Fixes throwing an error