Attempt to address crash in simple custom