existence of resource context gets now checked -> fixes #41