Add code stub to fix constraint exception that may occur