loading puzzle from database