ajax calls and allighment fixes