fixing depracated scope for show model