fixes access to models