Fix undefined instance