Fixed second error by adding patch 2