Debuged some things