Solved some problems