Workaround for undefined index