silence notices about undefined indexes