Fixed inheritance issue that was causing code to bug out