resolve somes problems