[TASK] Fix warnings

Fix different warnings.